import Http from '../http';
import { SysUser } from '@/model/user/user';
import { UpdateIsOpenInPut, UserRoleInput } from '@/model/public/public';



//获取当前登录人员日志,并写入数据库
export const getLoginOrInsert = async function () {
  return await Http.get('/api/SysUser/GetLoginOrInsert');
}

//获取登录日志
export const getLoginLogMsg = async function (pageResultModel: any) {
  return await Http.post('/api/SysUser/GetLoginLogMsg', pageResultModel);
}

//获取公司人员
export const getCorporationUser = async function (pageResultModel: any) {
  return await Http.post('/api/SysUser/GetCorporationUser', pageResultModel);
}

